import React from "react";
import {Pagination, DatePicker} from 'antd';

export default function AntdLoad() {

    return (<div>
        <h2>按需加载</h2>
        <div>
            <div>
                <Pagination defaultCurrent={1} total={50}/>
            </div>
            <div>
                <DatePicker onChange={(v) => {
                    console.log(v)
                }}/>
            </div>
        </div>
    </div>)
}